//
//  Collection+Extensions.swift
//  JT Center
//
//  Created by Kiyo on 2021/3/30.
//  Copyright © 2021 J&T Express. All rights reserved.
//

import Foundation


extension Collection {
    subscript(safe index: Index) -> Element? {
        return indices.contains(index) ? self[index] : nil
    }
}


